import React from 'react'
import Mynav from '../../components/Mynav'
import styles from './css/login.module.css'
import { Button, Form, Input } from 'antd-mobile'
import { Tabs } from 'antd-mobile'
import QRCode from "react-qr-code";
import useDao from '../../hook/useDao'
import Myyzm from './components/Myyzm'
function Index() {

  return (
    <div className={styles.login}>
      <Mynav title='登录页面' />

      <Tabs>
        <Tabs.Tab title='密码登录' key='fruits'>
          菠萝
        </Tabs.Tab>





        <Tabs.Tab title='验证码登录' key='vegetables'>
          <Myyzm />
        </Tabs.Tab>



        <Tabs.Tab title='扫码登录' key='animals'>
          <QRCode value="hey" />
        </Tabs.Tab>



      </Tabs>
    </div>
  )
}

export default Index
